.children_content {
    height: calc(100vh - 105px);
    display: flex;
    flex-direction: column;
    .children_content_flex {
        height: 100%;
        display: flex;
        justify-content: space-between;

        .left_box {
            width: 260px;
            padding: 10px;
            background-color: #fff;
            margin-right: 10px;
            flex-shrink: 0;
            height: 100%;
            max-height: calc(100vh - 105px);
            overflow-y: auto;
            .tree_title {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 15px;

                .title {
                    font-size: 18px;
                    font-weight: bold;
                }
                .ivu-icon {
                  cursor: pointer;
                  margin-right: 10px;
                }
            }

            .tree_search {
                margin-bottom: 10px;
            }

            .ivu-tree-children {
                margin-bottom: 10px;
            }

            .ivu-tree-expand {
                margin-top: 10px;
            }
        }

        .right_box {
            width: calc(100% - 270px);
            display: flex;
            flex-direction: column;
            .right_table {
                max-height: calc(100% - 40px);
            }
        }
    }
    .content_table {
        flex: 1;
    }
    .add_btns_box {
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background-color: #fff;
        border-radius: 3px;

        .box_left {
            .title {
                font-size: 18px;
                font-weight: bold;
            }
        }
    }

    .content_table {
        padding: 10px;
        background-color: #fff;
        margin-top: 8px;
        border-radius: 3px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;

        .page_box {
            display: flex;
            margin-top: 10px;
            margin-bottom: 5px;
            margin-left: auto;
            // justify-content: center;
        }

        .table_btns {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
    }

    .flow_content {
        padding: 10px;
        background-color: #fff;
        margin-top: 8px;
        border-radius: 3px;
        display: flex;
        flex-direction: column;
        align-items: center;

        .item_box {
            position: relative;

            .arrow {
                width: 8px;
                transform: rotate(180deg);
                border-width: 6px;
                border-style: solid;
                border-color: transparent transparent #ccc transparent;
                margin: auto;
            }
        }

        .add_btn {
            height: 120px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;

            .line {
                width: 2px;
                height: 100%;
                background-color: #ccc;
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                z-index: 1;
            }

            .ivu-poptip {
                z-index: 2;
            }

            .popup_box {
                display: flex;
                justify-content: space-between;

                .item {
                    text-align: center;
                    cursor: pointer;

                    i {
                        font-size: 20px;
                        width: 40px;
                        height: 40px;
                        border: 1px solid #f1f1f1;
                        border-radius: 50%;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin: auto;
                    }

                    &:hover {
                        i {
                            background-color: #2d8cf0;
                            color: #fff !important;
                        }
                    }
                }
            }
        }

        // .condition_add_btn {
        //     .line {
        //         // &::before {
        //         //     content: "";
        //         //     position: absolute;
        //         //     left: 50%;
        //         //     /* 根据需要调整位置 */
        //         //     top: 113px;
        //         //     /* 位于元素的顶部 */
        //         //     transform: translateX(-50%) rotate(180deg);
        //         //     /* 使三角形居中对齐 */
        //         //     border-width: 6px;
        //         //     /* 三角形的大小 */
        //         //     border-style: solid;
        //         //     border-color: transparent transparent #ccc transparent;
        //         //     /* 倒三角形的颜色 */

        //         // }
        //     }
        // }

        .ivu-card {
            cursor: pointer;
        }

        .ivu-card-head {
            padding: 10px;
        }

        .ivu-card-extra {
            top: 7px;
            right: 5px;
            cursor: pointer;
            color: #fff;

            i {
                &:hover {
                    color: #ed4014;
                }
            }
        }

        .ivu-card-body {
            padding: 10px;
        }

        .ivu-card-head {
            color: #fff;
        }

        .flex_card0 {
            .ivu-card-head {
                background-color: #576A95;
            }
        }

        .flex_card2 {
            .ivu-card-head {
                background-color: #FF943E;
            }
        }

        .flex_card3 {
            .ivu-card-head {
                background-color: #3296FA;
            }
        }

        .condition_add {
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: 50px;

            .left_line {
                height: 2px;
                background-color: #ccc;
            }

            .right_line {
                height: 2px;
                background-color: #ccc;
            }

            button {
                z-index: 2;
                background-color: #fff;
            }
        }

        .condition_box {
            display: flex;
            align-items: center;
            position: relative;

            .condition_item {
                width: 400px;
                display: flex;
                flex-direction: column;
                align-items: center;
                position: relative;

                .condition_line {
                    width: 2px;
                    height: 60px;
                    position: absolute;
                    top: -67px;
                    background-color: #ccc;
                    z-index: 1;

                    &::before {
                        content: "";
                        position: absolute;
                        left: 50%;
                        /* 根据需要调整位置 */
                        top: 58px;
                        /* 位于元素的顶部 */
                        transform: translateX(-50%) rotate(180deg);
                        /* 使三角形居中对齐 */
                        border-width: 6px;
                        /* 三角形的大小 */
                        border-style: solid;
                        border-color: transparent transparent #ccc transparent;
                    }
                }

                .condition_bottom_left_line {
                    width: 199px;
                    height: 2px;
                    background-color: #ccc;
                    position: absolute;
                    bottom: 0px;
                    left: 0px;
                }

                .condition_bottom_right_line {
                    width: 199px;
                    height: 2px;
                    background-color: #ccc;
                    position: absolute;
                    bottom: 0px;
                    right: 0px;
                }

                .condition_card {
                    .ivu-card-head {
                        background-color: #19be6b;
                    }
                }
            }
        }

        .end_flow {
            .point {
                width: 10px;
                height: 10px;
                margin: auto;
                background-color: #ccc;
                border-radius: 5px;
            }
        }
    }
}

.ivu-tree ul li {
    margin: 0px !important;
}

.add_form {
    .ivu-modal-body {
        max-height: 700px;
        overflow: auto;
    }
    .flex_form_item {
        display: flex;
        justify-content: space-between;
        &>div {
            flex: 1;
            &:nth-child(2) {
                margin-left: 50px;
            }
        }
        
    }
}

.menu_pop {
    left: 60px !important;

    .ivu-poptip-arrow {
        display: none;
    }

    .deep_content {
        cursor: pointer;
    }

    .router_item {
        text-align: center;
        padding: 5px 0px;
    }

    .deep_content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        div:first-child {
            width: 1px;
            height: 1px;
        }

        .title {
            transform: translateX(8px);
        }
    }

    .ivu-poptip {
        width: 100%;
    }

    .ivu-poptip-rel {
        width: 100%;
    }
}

.menu_pop_deep {
    left: 200px !important;

    .ivu-poptip-arrow {
        display: none;
    }

    .router_item {
        text-align: center;
        padding: 5px 0px;
    }

    .deep_content {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        div:first-child {
            width: 1px;
            height: 1px;
        }

        .title {
            transform: translateX(8px);
        }
    }

    .ivu-poptip {
        width: 100%;
    }

    .ivu-poptip-rel {
        width: 100%;
    }
}

.routerActive {
    color: #2d8cf0;
}

.notRouterActive {
    color: #515a6e;
}

.vxe-table {
    border-bottom: 1px solid #f1f1f1;
}
.ivu-drawer-body{
    height: calc(100vh - 90px);
}
.drawer_box {
    .ivu-drawer-body {
        position: relative;
        max-height: calc(100vh - 104px + 12px);
        overflow: scroll;
    }
}


.ivu-badge-count {
    top: 2px;
    right: 2px;
}

.ivu-modal-mask {
    // background-color: unset;
}


.pointer {
  cursor: pointer;
}